package com.zmn.plat.business.interfaces.service.tariff.citygroup;

import java.util.List;

import com.zmn.plat.model.entity.service.tariff.citygroup.ServiceTariffCityGroupQuery;
import com.zmn.plat.model.vo.service.tariff.citygroup.ServiceTariffCityGroupAddEditVO;
import com.zmn.plat.model.vo.service.tariff.citygroup.ServiceTariffCityGroupVO;

/**
 * @author tanbiao
 * @description
 * @since 2020/5/28 15:06
 * @modifier
 **/
public interface ServiceTariffCityGroupBService {

    /**
     * 功能描述 :分页查询，关联的城市需要拼装成字符串显示
     *
     * @param query
     * @return java.util.List<com.zmn.plat.model.vo.service.citygroup.FaultCityGroupVO>
     * @author tanbiao
     * @since 2020/5/28
     * @modifier
     */
    List<ServiceTariffCityGroupVO> listPageQuery(ServiceTariffCityGroupQuery query);

    /**
     * 功能描述 :新增或者修改分组，先删除明细，再添加
     *
     * @return java.util.List<com.zmn.plat.model.vo.service.citygroup.FaultCityGroupVO>
     * @author tanbiao
     * @since 2020/5/28
     * @modifier
     */
    Integer addEdit(ServiceTariffCityGroupAddEditVO faultGroup, String mcStaffRealName);

    /**
     * 功能描述 :删除分组，同时删除明细
     *
     * @return java.util.List<com.zmn.plat.model.vo.service.citygroup.FaultCityGroupVO>
     * @author tanbiao
     * @since 2020/5/28
     * @modifier
     */
    Integer deleteByKey(Integer groupId);

}
